﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Obra.Common;

namespace Obra.CommandLineInterface
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                Application obra = new Application();
                obra.Parse(args);
                obra.Execute();

                Console.WriteLine("Press any key to continue...");
                Console.ReadKey();
            }
            catch (Exception e)
            {
                Log.Error(e.ToString());
                Console.WriteLine(e.ToString());
            }
        }
    }
}
